Optimal. Leaf size=108 \[ \frac {8}{9} \sqrt {1-2 x}+\frac {5}{7} (1-2 x)^{3/2} (3+5 x)^2-\frac {(1-2 x)^{3/2} (3+5 x)^3}{3 (2+3 x)}-\frac {10}{63} (1-2 x)^{3/2} (22+27 x)-\frac {8}{9} \sqrt {\frac {7}{3}} \tanh ^{-1}\left (\sqrt {\frac {3}{7}} \sqrt {1-2 x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 108, normalized size of antiderivative = 1.00, number of steps
used = 6, number of rules used = 6, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {99, 158, 152,
52, 65, 212} \begin {gather*} -\frac {(1-2 x)^{3/2} (5 x+3)^3}{3 (3 x+2)}+\frac {5}{7} (1-2 x)^{3/2} (5 x+3)^2-\frac {10}{63} (1-2 x)^{3/2} (27 x+22)+\frac {8}{9} \sqrt {1-2 x}-\frac {8}{9} \sqrt {\frac {7}{3}} \tanh ^{-1}\left (\sqrt {\frac {3}{7}} \sqrt {1-2 x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 65
Rule 99
Rule 152
Rule 158
Rule 212
Rubi steps
\begin {align*} \int \frac {(1-2 x)^{3/2} (3+5 x)^3}{(2+3 x)^2} \, dx &=-\frac {(1-2 x)^{3/2} (3+5 x)^3}{3 (2+3 x)}+\frac {1}{3} \int \frac {(6-45 x) \sqrt {1-2 x} (3+5 x)^2}{2+3 x} \, dx\\ &=\frac {5}{7} (1-2 x)^{3/2} (3+5 x)^2-\frac {(1-2 x)^{3/2} (3+5 x)^3}{3 (2+3 x)}-\frac {1}{63} \int \frac {(-288-810 x) \sqrt {1-2 x} (3+5 x)}{2+3 x} \, dx\\ &=\frac {5}{7} (1-2 x)^{3/2} (3+5 x)^2-\frac {(1-2 x)^{3/2} (3+5 x)^3}{3 (2+3 x)}-\frac {10}{63} (1-2 x)^{3/2} (22+27 x)+\frac {4}{3} \int \frac {\sqrt {1-2 x}}{2+3 x} \, dx\\ &=\frac {8}{9} \sqrt {1-2 x}+\frac {5}{7} (1-2 x)^{3/2} (3+5 x)^2-\frac {(1-2 x)^{3/2} (3+5 x)^3}{3 (2+3 x)}-\frac {10}{63} (1-2 x)^{3/2} (22+27 x)+\frac {28}{9} \int \frac {1}{\sqrt {1-2 x} (2+3 x)} \, dx\\ &=\frac {8}{9} \sqrt {1-2 x}+\frac {5}{7} (1-2 x)^{3/2} (3+5 x)^2-\frac {(1-2 x)^{3/2} (3+5 x)^3}{3 (2+3 x)}-\frac {10}{63} (1-2 x)^{3/2} (22+27 x)-\frac {28}{9} \text {Subst}\left (\int \frac {1}{\frac {7}{2}-\frac {3 x^2}{2}} \, dx,x,\sqrt {1-2 x}\right )\\ &=\frac {8}{9} \sqrt {1-2 x}+\frac {5}{7} (1-2 x)^{3/2} (3+5 x)^2-\frac {(1-2 x)^{3/2} (3+5 x)^3}{3 (2+3 x)}-\frac {10}{63} (1-2 x)^{3/2} (22+27 x)-\frac {8}{9} \sqrt {\frac {7}{3}} \tanh ^{-1}\left (\sqrt {\frac {3}{7}} \sqrt {1-2 x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.12, size = 70, normalized size = 0.65 \begin {gather*} -\frac {\sqrt {1-2 x} \left (85-442 x-1005 x^2+780 x^3+1500 x^4\right )}{63 (2+3 x)}-\frac {8}{9} \sqrt {\frac {7}{3}} \tanh ^{-1}\left (\sqrt {\frac {3}{7}} \sqrt {1-2 x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.12, size = 72, normalized size = 0.67
method | result | size |
risch | \(\frac {3000 x^{5}+60 x^{4}-2790 x^{3}+121 x^{2}+612 x -85}{63 \left (2+3 x \right ) \sqrt {1-2 x}}-\frac {8 \arctanh \left (\frac {\sqrt {21}\, \sqrt {1-2 x}}{7}\right ) \sqrt {21}}{27}\) | \(61\) |
derivativedivides | \(\frac {125 \left (1-2 x \right )^{\frac {7}{2}}}{126}-\frac {145 \left (1-2 x \right )^{\frac {5}{2}}}{54}+\frac {10 \left (1-2 x \right )^{\frac {3}{2}}}{81}+\frac {214 \sqrt {1-2 x}}{243}-\frac {14 \sqrt {1-2 x}}{729 \left (-\frac {4}{3}-2 x \right )}-\frac {8 \arctanh \left (\frac {\sqrt {21}\, \sqrt {1-2 x}}{7}\right ) \sqrt {21}}{27}\) | \(72\) |
default | \(\frac {125 \left (1-2 x \right )^{\frac {7}{2}}}{126}-\frac {145 \left (1-2 x \right )^{\frac {5}{2}}}{54}+\frac {10 \left (1-2 x \right )^{\frac {3}{2}}}{81}+\frac {214 \sqrt {1-2 x}}{243}-\frac {14 \sqrt {1-2 x}}{729 \left (-\frac {4}{3}-2 x \right )}-\frac {8 \arctanh \left (\frac {\sqrt {21}\, \sqrt {1-2 x}}{7}\right ) \sqrt {21}}{27}\) | \(72\) |
trager | \(-\frac {\left (1500 x^{4}+780 x^{3}-1005 x^{2}-442 x +85\right ) \sqrt {1-2 x}}{63 \left (2+3 x \right )}-\frac {4 \RootOf \left (\textit {\_Z}^{2}-21\right ) \ln \left (\frac {-3 \RootOf \left (\textit {\_Z}^{2}-21\right ) x +21 \sqrt {1-2 x}+5 \RootOf \left (\textit {\_Z}^{2}-21\right )}{2+3 x}\right )}{27}\) | \(82\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.53, size = 89, normalized size = 0.82 \begin {gather*} \frac {125}{126} \, {\left (-2 \, x + 1\right )}^{\frac {7}{2}} - \frac {145}{54} \, {\left (-2 \, x + 1\right )}^{\frac {5}{2}} + \frac {10}{81} \, {\left (-2 \, x + 1\right )}^{\frac {3}{2}} + \frac {4}{27} \, \sqrt {21} \log \left (-\frac {\sqrt {21} - 3 \, \sqrt {-2 \, x + 1}}{\sqrt {21} + 3 \, \sqrt {-2 \, x + 1}}\right ) + \frac {214}{243} \, \sqrt {-2 \, x + 1} + \frac {7 \, \sqrt {-2 \, x + 1}}{243 \, {\left (3 \, x + 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.17, size = 80, normalized size = 0.74 \begin {gather*} \frac {28 \, \sqrt {7} \sqrt {3} {\left (3 \, x + 2\right )} \log \left (\frac {\sqrt {7} \sqrt {3} \sqrt {-2 \, x + 1} + 3 \, x - 5}{3 \, x + 2}\right ) - 3 \, {\left (1500 \, x^{4} + 780 \, x^{3} - 1005 \, x^{2} - 442 \, x + 85\right )} \sqrt {-2 \, x + 1}}{189 \, {\left (3 \, x + 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.39, size = 106, normalized size = 0.98 \begin {gather*} -\frac {125}{126} \, {\left (2 \, x - 1\right )}^{3} \sqrt {-2 \, x + 1} - \frac {145}{54} \, {\left (2 \, x - 1\right )}^{2} \sqrt {-2 \, x + 1} + \frac {10}{81} \, {\left (-2 \, x + 1\right )}^{\frac {3}{2}} + \frac {4}{27} \, \sqrt {21} \log \left (\frac {{\left | -2 \, \sqrt {21} + 6 \, \sqrt {-2 \, x + 1} \right |}}{2 \, {\left (\sqrt {21} + 3 \, \sqrt {-2 \, x + 1}\right )}}\right ) + \frac {214}{243} \, \sqrt {-2 \, x + 1} + \frac {7 \, \sqrt {-2 \, x + 1}}{243 \, {\left (3 \, x + 2\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 1.19, size = 73, normalized size = 0.68 \begin {gather*} \frac {14\,\sqrt {1-2\,x}}{729\,\left (2\,x+\frac {4}{3}\right )}+\frac {214\,\sqrt {1-2\,x}}{243}+\frac {10\,{\left (1-2\,x\right )}^{3/2}}{81}-\frac {145\,{\left (1-2\,x\right )}^{5/2}}{54}+\frac {125\,{\left (1-2\,x\right )}^{7/2}}{126}+\frac {\sqrt {21}\,\mathrm {atan}\left (\frac {\sqrt {21}\,\sqrt {1-2\,x}\,1{}\mathrm {i}}{7}\right )\,8{}\mathrm {i}}{27} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________